package com.trainingcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
//设置定时执行的表达式
@EnableScheduling
//开启mapper接口扫描
@MapperScan("com.trainingcloud.mapper")
public class TrainingCloudApplication {

    public static void main(String[] args) {
        SpringApplication.run(TrainingCloudApplication.class, args);
    }
    
}
